home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 115 / macaddict115.cdr / Software / Productivity / TextWrangler_2.1.1.dmg / TextWrangler.app / Contents / Resources / TextWrangler.rsrc / TEXT_7000_Find Python Debugger Script.txt < prev    next >
Text File  |  2005-11-17  |  211b  |  14 lines

  1. #!/usr/local/bin/python
  2.  
  3. import os
  4. import sys
  5.  
  6. debuggerPath = '';
  7.  
  8. for libPath in sys.path:
  9.     testPath = libPath + os.sep + 'pdb.py'
  10.     if (os.path.exists(testPath)):
  11.         debuggerPath = testPath
  12.  
  13. print debuggerPath,
  14.